<?php $pageId= get_the_ID(); ?>

<div class="span4 sidebar">    

    <?php get_template_part('includes/actividades-sidebar'); ?>

    <?php if($pageId=='2'): ?>
            <div class="beat">
                <a h href="http://beat.sums.ac.ir/" target="_blank"><img src="<?php bloginfo( 'template_url' ); ?>/images/BEAT.PNG"/></a>
            </div>
        <?php endif; ?>
    
    <?php if(!is_category('2')): ?>
        <?php get_template_part('includes/noticias-sidebar'); ?>
    <?php endif; ?>

    <div class="newsletter">
        <div class="titulo-newsletter">
            <?php _e("<!--:pt-->Assine a nossa Newsletter<!--:--><!--:en-->Subscribe to our Newsletter<!--:--><!--:es-->Suscríbase a nuestro boletín<!--:-->"); ?>
        </div>
        <div class="form-newsletter">
            <?php echo do_shortcode('[mailpress]'); ?>
<!--            <form action="" method="post">
                <input type="email" placeholder="@email" name="email"/>
                <input class="btn_enviar" type="submit" value="enviar"/>
            </form>-->
        </div>
    </div>
    
    <?php get_template_part('includes/last-newsletters-sidebar'); ?>
   
</div>
